package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.UserNobility;
import com.jbp.utils.PageUtils;
import java.util.Map;

/**
 * 用户爵位(UserNobility)表服务接口
 * @author cc
 * @since 2021-08-11 20:43:47
 */
public interface UserNobilityService extends IService<UserNobility> {
    //增加积分
    void addScore(Integer userId, int addAcore);

    //保级或降级
    void updateLevel();

    UserNobility getUserNobility(Integer userId);
}